#!/bin/bash
(for ((i=0; i<10; ++i))
do
	echo "open 4"
	sleep 0.5
	echo "close 4"
	sleep 0.5
done) | ./hw4_Main.py
